package com.seednia.foundation.framework.service;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * All business operations in a service class must pass this object as first argument 
 * 
 * @author Young Suk Ahn
 *
 */
public class RequestContext implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -8638631498167426319L;

	protected String accessToken;
	
	protected Long userSid;
	protected String userId;
	protected String remoteHost;
	
	protected Map<String, Object> params = new HashMap<String, Object>();

	public RequestContext(){}
	

	public Map<String, Object> getParams() {
		return params;
	}
	public void setParams(Map<String, Object> params) {
		this.params = params;
	}


	public String getAccessToken() {
		return accessToken;
	}
	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}
	public Long getUserSid() {
		return userSid;
	}
	public void setUserSid(Long userSid) {
		this.userSid = userSid;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getRemoteHost() {
		return remoteHost;
	}
	public void setRemoteHost(String remoteHost) {
		this.remoteHost = remoteHost;
	}
	
	
}
